import type { ReactElement } from 'react'
import type { NextPage } from 'next'
import Layout from '../../../components/layout'
import MainLayout from '../../../components/layout/main'
import Sidbar from '../../../components/layout/sidebar'

export default function Projects() {
  return (
    <div>
      代码片段
    </div>
  )
}

Projects.getLayout = function getLayout(page: ReactElement) {
  return (
    <Layout>
      <MainLayout>
        <Sidbar>
          {page}
        </Sidbar>
      </MainLayout>
    </Layout>
  )
}